package com.byxy.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.byxy.model.User;
import com.byxy.util.PageQueryUtil;



public interface UserService extends BaseService {
	/**
	 * 会员登录
	 * 
	 * @param userName
	 *            账号
	 * @param password
	 *            登陆密码
	 * @return
	 * @throws Exception
	 */
	public User findUser(String userName, String password) throws Exception;
	/**
	 * 根据账号查找用户信息
	 * 
	 * @param userName
	 *            账号
	 * @param password
	 *            登陆密码
	 * @return
	 * @throws Exception
	 */
	public User findUser(String userName) throws Exception;

	
	
	
	
}
